package com.mx.adapt.pager.transformer

import android.view.View
import androidx.viewpager2.widget.ViewPager2

/**
 * 无动画效果
 */
class MXEmptyTransForm : ViewPager2.PageTransformer {
    override fun transformPage(page: View, position: Float) {
        page.scaleX = 1f
        page.scaleY = 1f
        page.alpha = 1f
    }
}